You may want your application to handle the Display Notice event as soon as it is issued instead of waiting for it to appear in the event queue. You can use the
DMRegisterExtendedNotifyProc
function to register a function to which the Display Manager directly sends the Display Notice event. By using
DMRegisterExtendedNotifyProc
, and by not setting the
isHighLevelEventAware
bit in the '
SIZE
' resource, you cause the Display Manager to send a Display Notice event directly to your handling function; your application or utility then receives no high-level Display Notice event.
To remove your Display Notice event-handling function, use the
DMRemoveExtendedNotifyProc
function.